package com.aspose.cells;

import java.util.ArrayList;
import java.util.HashMap;

class zbvy {
   private StringBuilder b = new StringBuilder();
   private WorksheetCollection c;
   boolean a = true;
   private int d;
   private int e;

   zbvy(WorksheetCollection var1) {
      this.c = var1;
   }

   private void a(byte[] var1, int var2) {
      int var3 = (com.aspose.cells.b.a.zc.e(var1, var2) & '\uffff') - 1;
      this.b.append(this.c.getNames().get(var3).getText());
   }

   String a(int var1, int var2, byte[] var3, int var4, int var5, boolean var6) {
      int var7 = var1;
      if (var2 != -1) {
         this.d = var2;
         this.e = var1 + var2;
      } else if (var1 == -1) {
         var7 = 2;
         this.d = com.aspose.cells.b.a.zc.e(var3, 0) & '\uffff';
         this.e = var7 + this.d;
      } else {
         this.d = 0;
         this.e = 0;
      }

      int var9 = this.e;
      this.b.delete(0, 0 + this.b.length());
      boolean var12 = false;
      ArrayList var13 = new ArrayList();

      while(var7 < var3.length && (this.e == 0 || var7 < var9)) {
         int var10;
         boolean[] var22;
         String var23;
         switch(var3[var7]) {
         case 1:
         case 2:
            return null;
         case 3:
            var10 = (Integer)var13.get(var13.size() - 1);
            this.b.insert(var10, '+');
            var13.remove(var13.size() - 1);
            ++var7;
            break;
         case 4:
            var10 = (Integer)var13.get(var13.size() - 1);
            this.b.insert(var10, '-');
            var13.remove(var13.size() - 1);
            ++var7;
            break;
         case 5:
            var10 = (Integer)var13.get(var13.size() - 1);
            this.b.insert(var10, '*');
            var13.remove(var13.size() - 1);
            ++var7;
            break;
         case 6:
            var10 = (Integer)var13.get(var13.size() - 1);
            this.b.insert(var10, '/');
            var13.remove(var13.size() - 1);
            ++var7;
            break;
         case 7:
            var10 = (Integer)var13.get(var13.size() - 1);
            this.b.insert(var10, '^');
            var13.remove(var13.size() - 1);
            ++var7;
            break;
         case 8:
            var10 = (Integer)var13.get(var13.size() - 1);
            this.b.insert(var10, '&');
            var13.remove(var13.size() - 1);
            ++var7;
            break;
         case 9:
            var10 = (Integer)var13.get(var13.size() - 1);
            this.b.insert(var10, '<');
            var13.remove(var13.size() - 1);
            ++var7;
            break;
         case 10:
            var10 = (Integer)var13.get(var13.size() - 1);
            this.b.insert(var10, "<=");
            var13.remove(var13.size() - 1);
            ++var7;
            break;
         case 11:
            var10 = (Integer)var13.get(var13.size() - 1);
            this.b.insert(var10, '=');
            var13.remove(var13.size() - 1);
            ++var7;
            break;
         case 12:
            var10 = (Integer)var13.get(var13.size() - 1);
            this.b.insert(var10, ">=");
            var13.remove(var13.size() - 1);
            ++var7;
            break;
         case 13:
            var10 = (Integer)var13.get(var13.size() - 1);
            this.b.insert(var10, '>');
            var13.remove(var13.size() - 1);
            ++var7;
            break;
         case 14:
            var10 = (Integer)var13.get(var13.size() - 1);
            this.b.insert(var10, "<>");
            var13.remove(var13.size() - 1);
            ++var7;
            break;
         case 15:
            var10 = (Integer)var13.get(var13.size() - 1);
            this.b.insert(var10, " ");
            var13.remove(var13.size() - 1);
            ++var7;
            break;
         case 16:
            var10 = (Integer)var13.get(var13.size() - 1);
            this.b.insert(var10, ";");
            var13.remove(var13.size() - 1);
            ++var7;
            break;
         case 17:
            var10 = (Integer)var13.get(var13.size() - 1);
            this.b.insert(var10, ":");
            var13.remove(var13.size() - 1);
            ++var7;
            break;
         case 18:
            var10 = (Integer)var13.get(var13.size() - 1);
            this.b.insert(var10, "+");
            ++var7;
            break;
         case 19:
            var10 = (Integer)var13.get(var13.size() - 1);
            this.b.insert(var10, "-");
            ++var7;
            break;
         case 20:
            this.b.append("%");
            ++var7;
            break;
         case 21:
            var10 = (Integer)var13.get(var13.size() - 1);
            this.b.insert(var10, "(");
            this.b.append(")");
            ++var7;
            break;
         case 22:
            com.aspose.cells.b.a.a.ze.a(var13, (Object)this.b.length());
            ++var7;
            break;
         case 23:
            try {
               ++var7;
               byte var25 = var3[var7];
               String var11;
               if (var3[var7 + 1] == 0) {
                  byte[] var26 = new byte[2 * (var25 & 255)];

                  for(int var27 = 0; var27 < 2 * (var25 & 255); ++var27) {
                     if (var27 % 2 == 0) {
                        byte var17 = var3[var27 / 2 + var7 + 2];
                        if (var17 != 0) {
                           var26[var27] = var17;
                        } else {
                           var26[var27] = 44;
                        }
                     }
                  }

                  var11 = Encoding.getUnicode().a(var26, 0, var26.length);
                  var7 += (var25 & 255) + 2;
               } else {
                  var11 = Encoding.getUnicode().a(var3, var7 + 2, 2 * (var25 & 255));
                  var7 += 2 * (var25 & 255) + 2;
               }

               com.aspose.cells.b.a.a.ze.a(var13, (Object)this.b.length());
               this.b.append("\"");
               if (var11 != null && !"".equals(var11)) {
                  var11 = com.aspose.cells.b.a.zv.a(var11, "\"", "\"\"");
                  this.b.append(var11);
               }

               this.b.append("\"");
               break;
            } catch (Exception var24) {
               throw new CellsException(5, "Invalid formula");
            }
         case 24:
         case 26:
         case 27:
         case 46:
         case 47:
         case 48:
         case 49:
         case 50:
         case 51:
         case 52:
         case 53:
         case 54:
         case 55:
         case 56:
         case 62:
         case 63:
         case 78:
         case 79:
         case 80:
         case 81:
         case 82:
         case 83:
         case 84:
         case 85:
         case 86:
         case 87:
         case 88:
         case 94:
         case 95:
         case 110:
         case 111:
         case 112:
         case 113:
         case 114:
         case 115:
         case 116:
         case 117:
         case 118:
         case 119:
         case 120:
         default:
            return null;
         case 25:
            ++var7;
            int[] var14 = new int[]{var7};
            this.a(var3, var14, var13);
            var7 = var14[0];
            break;
         case 28:
            com.aspose.cells.b.a.a.ze.a(var13, (Object)this.b.length());
            ++var7;
            this.b.append(zsk.b(var3[var7]));
            ++var7;
            break;
         case 29:
            ++var7;
            com.aspose.cells.b.a.a.ze.a(var13, (Object)this.b.length());
            if (var3[var7] == 0) {
               this.b.append("FALSE");
            } else {
               this.b.append("TRUE");
            }

            ++var7;
            break;
         case 30:
            int var15 = com.aspose.cells.b.a.zc.e(var3, var7 + 1);
            com.aspose.cells.b.a.a.ze.a(var13, (Object)this.b.length());
            this.b.append(com.aspose.cells.a.c.zp.a(var15 & '\uffff'));
            var7 += 3;
            break;
         case 31:
            double var16 = com.aspose.cells.b.a.zc.f(var3, var7 + 1);
            com.aspose.cells.b.a.a.ze.a(var13, (Object)this.b.length());
            if (var16 < 1.0E21D && Math.abs(var16) > 1.0E-21D) {
               this.b.append(com.aspose.cells.a.c.zp.a(var16));
            } else {
               this.b.append(com.aspose.cells.a.c.zp.b(var16));
            }

            var7 += 9;
            break;
         case 32:
         case 64:
         case 96:
            if (this.e == 0) {
               this.e = var7 + 1;
            }

            this.a(var3, var13);
            var7 += 8;
            break;
         case 33:
         case 65:
         case 97:
            ++var7;
            this.c(var3, var7, var13);
            var7 += 2;
            break;
         case 34:
         case 66:
         case 98:
            ++var7;
            this.b(var3, var7, var13);
            var7 += 3;
            break;
         case 35:
         case 67:
         case 99:
            com.aspose.cells.b.a.a.ze.a(var13, (Object)this.b.length());
            ++var7;
            this.a(var3, var7);
            var7 += 4;
            break;
         case 36:
         case 68:
         case 100:
            com.aspose.cells.b.a.a.ze.a(var13, (Object)this.b.length());
            ++var7;
            if (this.a) {
               this.b.append("[." + this.b(var3, var7) + "]");
            } else {
               this.b.append(this.b(var3, var7));
            }

            var7 += 4;
            break;
         case 37:
         case 69:
         case 101:
            com.aspose.cells.b.a.a.ze.a(var13, (Object)this.b.length());
            ++var7;
            if (this.a) {
               this.b.append("[." + this.a(var3, var7, var4, var5, var6) + "]");
            } else {
               this.b.append(this.a(var3, var7, var4, var5, var6));
            }

            var7 += 8;
            break;
         case 38:
         case 39:
         case 40:
         case 70:
         case 71:
         case 72:
         case 102:
         case 103:
         case 104:
            var7 += 7;
            break;
         case 41:
         case 73:
         case 105:
            var7 += 3;
            break;
         case 42:
         case 74:
         case 106:
            com.aspose.cells.b.a.a.ze.a(var13, (Object)this.b.length());
            if (this.a) {
               this.b.append("[.#REF!#REF!]");
            } else {
               this.b.append(".#REF!#REF!");
            }

            var7 += 5;
            break;
         case 43:
         case 75:
         case 107:
            com.aspose.cells.b.a.a.ze.a(var13, (Object)this.b.length());
            if (this.a) {
               this.b.append("[.#REF!#REF!]");
            } else {
               this.b.append(".#REF!#REF!");
            }

            var7 += 9;
            break;
         case 44:
         case 76:
         case 108:
            com.aspose.cells.b.a.a.ze.a(var13, (Object)this.b.length());
            ++var7;
            if (this.a) {
               this.b.append("[." + this.a(var3, var7, var4, var5) + "]");
            } else {
               this.b.append(this.a(var3, var7, var4, var5));
            }

            var7 += 4;
            break;
         case 45:
         case 77:
         case 109:
            com.aspose.cells.b.a.a.ze.a(var13, (Object)this.b.length());
            ++var7;
            if (this.a) {
               this.b.append("[." + this.a(var3, var7, var4, var5, true) + "]");
            } else {
               this.b.append(this.a(var3, var7, var4, var5, true));
            }

            var7 += 8;
            break;
         case 57:
         case 89:
         case 121:
            com.aspose.cells.b.a.a.ze.a(var13, (Object)this.b.length());
            ++var7;
            int var18 = com.aspose.cells.b.a.zc.e(var3, var7) & '\uffff';
            int var19 = this.c.q().c(var18);
            zbqg var20 = null;
            if (this.c.v() != null && var19 < this.c.v().getCount()) {
               var20 = this.c.v().a(var19);
               if (var20.e()) {
                  var20 = null;
               }
            }

            var7 += 2;
            int var21 = com.aspose.cells.b.a.zc.e(var3, var7) & '\uffff';
            if (var20 == null) {
               Name var28 = this.c.getNames().get(var21 - 1);
               this.b.append(var28.getText());
            } else {
               if (!var20.f()) {
                  return null;
               }

               zuk var29 = (zuk)var20.b().get(var21 - 1);
               this.b.append(var29.e().toUpperCase());
            }

            var7 += 4;
            break;
         case 58:
         case 90:
         case 122:
            com.aspose.cells.b.a.a.ze.a(var13, (Object)this.b.length());
            ++var7;
            if (this.a) {
               this.b.append("[");
            }

            var22 = new boolean[]{var12};
            var23 = this.a(var3, var7, var22);
            var12 = var22[0];
            if (var12) {
               var7 += 2;
               this.b.append(".#REF!#REF!");
            } else {
               this.b.append(var23);
               this.b.append('.');
               var7 += 2;
               this.b.append(this.b(var3, var7));
            }

            if (this.a) {
               this.b.append(']');
            }

            var7 += 4;
            break;
         case 59:
         case 91:
         case 123:
            com.aspose.cells.b.a.a.ze.a(var13, (Object)this.b.length());
            ++var7;
            if (this.a) {
               this.b.append('[');
            }

            var22 = new boolean[]{var12};
            var23 = this.a(var3, var7, var22);
            var12 = var22[0];
            if (var12) {
               var7 += 2;
               this.b.append(".#REF!#REF!");
            } else {
               this.b.append(var23);
               this.b.append('.');
               var7 += 2;
               this.b.append(this.a(var3, var7, var4, var5, var6));
            }

            if (this.a) {
               this.b.append(']');
            }

            var7 += 8;
            break;
         case 60:
         case 92:
         case 124:
            com.aspose.cells.b.a.a.ze.a(var13, (Object)this.b.length());
            ++var7;
            if (this.a) {
               this.b.append('[');
            }

            this.b.append(".#REF!#REF!");
            if (this.a) {
               this.b.append(']');
            }

            var7 += 6;
            break;
         case 61:
         case 93:
         case 125:
            com.aspose.cells.b.a.a.ze.a(var13, (Object)this.b.length());
            ++var7;
            if (this.a) {
               this.b.append('[');
            }

            this.b.append(".#REF!#REF!");
            if (this.a) {
               this.b.append(']');
            }

            var7 += 10;
         }
      }

      this.b.insert(0, '=');
      var13 = null;
      return com.aspose.cells.b.a.zr.a(this.b);
   }

   private void a(byte[] var1, ArrayList var2) {
      com.aspose.cells.b.a.a.ze.a(var2, (Object)this.b.length());
      this.b.append('{');
      int var3 = (var1[this.e] & 255) + 1;
      ++this.e;
      int var4 = (com.aspose.cells.b.a.zc.e(var1, this.e) & '\uffff') + 1;
      this.e += 2;

      for(int var5 = 0; var5 < var4; ++var5) {
         for(int var6 = 0; var6 < var3; ++var6) {
            switch(var1[this.e]) {
            case 0:
               this.e += 9;
               if (var6 != var3 - 1) {
                  this.b.append(',');
               }
               break;
            case 1:
               ++this.e;
               this.b.append(com.aspose.cells.b.a.zc.f(var1, this.e));
               this.e += 8;
               if (var6 != var3 - 1) {
                  this.b.append(',');
               }
               break;
            case 2:
               ++this.e;
               int var7 = com.aspose.cells.b.a.zc.e(var1, this.e) & '\uffff';
               this.b.append("\"");
               if (var7 != 0) {
                  String var8 = null;
                  if (var1[this.e + 2] == 0) {
                     var8 = Encoding.getASCII().a(var1, this.e + 3, var7);
                     this.e += 3 + var7;
                  } else {
                     var8 = Encoding.getUnicode().a(var1, this.e + 3, var7 * 2);
                     this.e += 3 + var7 * 2;
                  }

                  if (var8 != null && !"".equals(var8)) {
                     var8 = com.aspose.cells.b.a.zv.a(var8, "\"", "\"\"");
                  }

                  this.b.append(var8);
               } else {
                  this.e += 3;
               }

               this.b.append("\"");
               if (var6 != var3 - 1) {
                  this.b.append(',');
               }
               break;
            case 4:
               this.b.append(var1[this.e + 1] == 1 ? "TRUE" : "FALSE");
               if (var6 != var3 - 1) {
                  this.b.append(',');
               }

               this.e += 9;
               break;
            case 16:
               this.b.append(zsk.b(var1[this.e + 1]));
               if (var6 != var3 - 1) {
                  this.b.append(',');
               }

               this.e += 9;
            }
         }

         if (var5 != var4 - 1) {
            this.b.append(';');
         }
      }

      this.b.append('}');
   }

   private void a(byte[] var1, int[] var2, ArrayList var3) {
      switch(var1[var2[0]]) {
      case 4:
         var2[0] += 3;
         int var5 = com.aspose.cells.b.a.zc.e(var1, var2[0]) & '\uffff';
         var2[0] += var5;
         break;
      case 16:
         int var4 = (Integer)var3.get(var3.size() - 1);
         this.b.insert(var4, "SUM(");
         this.b.append(")");
         var2[0] += 3;
         break;
      default:
         var2[0] += 3;
      }

   }

   private void a(byte var1, StringBuilder var2) {
      byte var3 = (byte)((var1 & 255) / 26);
      byte var4 = (byte)((var1 & 255) % 26);
      if ((var3 & 255) > 0) {
         char var5 = (char)((var3 & 255) + 64);
         char var6 = (char)((var4 & 255) + 65);
         var2.append(var5);
         var2.append(var6);
      } else {
         var2.append((char)((var4 & 255) + 65));
      }

   }

   private String a(byte[] var1, int var2, boolean[] var3) {
      var3[0] = false;
      int var4 = com.aspose.cells.b.a.zc.e(var1, var2) & '\uffff';
      int var5 = this.c.q().d(var4);
      if (var5 >= 0 && var5 < this.c.getCount()) {
         return zyn.a(var4, this.c, 0, (HashMap)null);
      } else {
         var3[0] = true;
         return "#REF!";
      }
   }

   private String a(byte[] var1, int var2, int var3, int var4, boolean var5) {
      int var8 = com.aspose.cells.b.a.zc.e(var1, var2);
      byte var9 = var1[var2 + 4];
      int var10;
      if ((var8 & '\uffff') + var3 > 65535) {
         var10 = (var8 & '\uffff') + var3 - '\uffff' - 1;
      } else {
         var10 = (var8 & '\uffff') + var3;
      }

      int var11;
      if ((var9 & 255) + var4 > 255) {
         var11 = (var9 & 255) + var4 - 255 - 1;
      } else {
         var11 = (var9 & 255) + var4;
      }

      StringBuilder var12 = new StringBuilder();
      boolean var13 = true;
      boolean var14 = true;
      if ((var1[var2 + 5] & 255 & 128) != 0) {
         var13 = false;
         if (var5) {
            var8 = var10;
         }
      }

      if ((var1[var2 + 5] & 255 & 64) != 0) {
         var14 = false;
         if (var5) {
            var9 = (byte)var11;
         }
      }

      int var6;
      byte var7;
      if ((var8 & '\uffff') == 0) {
         var6 = com.aspose.cells.b.a.zc.e(var1, var2 + 2);
         if ((var6 & '\uffff') == 65535) {
            if (var14) {
               var12.append("$");
            }

            this.a(var9, var12);
            var12.append(':');
            var12.append('.');
            var13 = true;
            var14 = true;
            if ((var1[var2 + 7] & 255 & 128) != 0) {
               var13 = false;
            }

            if ((var1[var2 + 7] & 255 & 64) != 0) {
               var14 = false;
            }

            if (var14) {
               var12.append("$");
            }

            var7 = var1[var2 + 6];
            this.a(var7, var12);
            return com.aspose.cells.b.a.zr.a(var12);
         }
      }

      if (var9 == 0) {
         var7 = var1[var2 + 6];
         if ((var7 & 255) == 255) {
            if (var13) {
               var12.append("$");
            }

            var12.append((var8 & '\uffff') + 1);
            var12.append(':');
            var12.append('.');
            var13 = true;
            var14 = true;
            if ((var1[var2 + 7] & 255 & 128) != 0) {
               var13 = false;
            }

            if ((var1[var2 + 7] & 255 & 64) != 0) {
               var14 = false;
            }

            if (var13) {
               var12.append("$");
            }

            var6 = com.aspose.cells.b.a.zc.e(var1, var2 + 2);
            var12.append((var6 & '\uffff') + 1);
            return com.aspose.cells.b.a.zr.a(var12);
         }
      }

      String var15 = CellsHelper.cellIndexToName(var8 & '\uffff', var9 & 255);
      var12.append(var15);
      int var16;
      if (var14) {
         var12.insert(0, '$');
         if (var13) {
            for(var16 = 2; var16 < var12.length(); ++var16) {
               if (Character.isDigit(var12.charAt(var16))) {
                  var12.insert(var16, '$');
                  break;
               }
            }
         }
      } else if (var13) {
         for(var16 = 1; var16 < var12.length(); ++var16) {
            if (Character.isDigit(var12.charAt(var16))) {
               var12.insert(var16, '$');
               break;
            }
         }
      }

      var12.append(':');
      var12.append('.');
      var16 = var12.length();
      var6 = com.aspose.cells.b.a.zc.e(var1, var2 + 2);
      var7 = var1[var2 + 6];
      if ((var6 & '\uffff') + var3 > 65535) {
         var10 = (var6 & '\uffff') + var3 - '\uffff' - 1;
      } else {
         var10 = (var6 & '\uffff') + var3;
      }

      if ((var7 & 255) + var4 > 255) {
         var11 = (var7 & 255) + var4 - 255 - 1;
      } else {
         var11 = (var7 & 255) + var4;
      }

      var13 = true;
      var14 = true;
      if ((var1[var2 + 7] & 255 & 128) != 0) {
         var13 = false;
         if (var5) {
            var6 = var10;
         }
      }

      if ((var1[var2 + 7] & 255 & 64) != 0) {
         var14 = false;
         if (var5) {
            var7 = (byte)var11;
         }
      }

      String var17 = CellsHelper.cellIndexToName(var6 & '\uffff', var7 & 255);
      var12.append(var17);
      int var18;
      if (var14) {
         var12.insert(var16, '$');
         if (var13) {
            for(var18 = var16 + 1; var18 < var12.length(); ++var18) {
               if (Character.isDigit(var12.charAt(var18))) {
                  var12.insert(var18, '$');
                  break;
               }
            }
         }
      } else if (var13) {
         for(var18 = var16 + 1; var18 < var12.length(); ++var18) {
            if (Character.isDigit(var12.charAt(var18))) {
               var12.insert(var18, '$');
               break;
            }
         }
      }

      return com.aspose.cells.b.a.zr.a(var12);
   }

   private String a(byte[] var1, int var2, int var3, int var4) {
      int var5 = com.aspose.cells.b.a.zc.e(var1, var2);
      byte var6 = var1[var2 + 2];
      int var7;
      if ((var5 & '\uffff') + var3 > 65535) {
         var7 = (var5 & '\uffff') + var3 - '\uffff' - 1;
      } else {
         var7 = (var5 & '\uffff') + var3;
      }

      int var8;
      if ((var6 & 255) + var4 > 255) {
         var8 = (var6 & 255) + var4 - 255 - 1;
      } else {
         var8 = (var6 & 255) + var4;
      }

      byte var9 = var1[var2 + 3];
      StringBuilder var10 = new StringBuilder();
      if ((var9 & 255 & 64) == 0) {
         var10.append('$');
         var10.append(CellsHelper.columnIndexToName(var6 & 255));
      } else {
         var10.append(CellsHelper.columnIndexToName((byte)var8 & 255));
      }

      if ((var9 & 255 & 128) == 0) {
         var10.append('$');
         var10.append(CellsHelper.rowIndexToName(var5 & '\uffff'));
      } else {
         var10.append(CellsHelper.rowIndexToName(var7));
      }

      return com.aspose.cells.b.a.zr.a(var10);
   }

   private String b(byte[] var1, int var2) {
      int var3 = com.aspose.cells.b.a.zc.e(var1, var2);
      byte var4 = var1[var2 + 2];
      boolean var5 = true;
      boolean var6 = true;
      byte var7 = var1[var2 + 3];
      if ((var7 & 255 & 64) != 0) {
         var6 = false;
      }

      if ((var7 & 255 & 128) != 0) {
         var5 = false;
      }

      String var8 = CellsHelper.cellIndexToName(var3 & '\uffff', var4 & 255);
      if (!var5 && !var6) {
         return var8;
      } else {
         StringBuilder var9 = new StringBuilder(var8);
         if (var6) {
            var9.insert(0, '$');
         }

         if (var5) {
            for(int var10 = 1; var10 < var9.length(); ++var10) {
               if (Character.isDigit(var9.charAt(var10))) {
                  var9.insert(var10, '$');
                  return com.aspose.cells.b.a.zr.a(var9);
               }
            }

            return null;
         } else {
            return com.aspose.cells.b.a.zr.a(var9);
         }
      }
   }

   private void a(byte[] var1, int var2, ArrayList var3) {
      int var5 = (var1[var2] & 255) - 1;

      int var4;
      int var6;
      for(var6 = 1; var6 < var5; ++var6) {
         var4 = (Integer)var3.get(var3.size() - var6);
         this.b.insert(var4, ',');
      }

      var6 = var3.size() - var5;
      if (var6 < var3.size()) {
         var4 = (Integer)var3.get(var6);
      } else {
         var4 = this.b.length();
         com.aspose.cells.b.a.a.ze.a(var3, (Object)var4);
      }

      this.b.insert(var4, "(");
      if ((var1[var2] & 255) - 1 > 0) {
         com.aspose.cells.b.a.a.ze.a(var3, var3.size() - (var1[var2] & 255) + 1, (var1[var2] & 255) - 1);
      }

      this.b.append(")");
   }

   private void b(byte[] var1, int var2, ArrayList var3) {
      int var5 = com.aspose.cells.b.a.zc.e(var1, var2 + 1);
      if ((var5 & '\uffff') == 255) {
         this.a(var1, var2, var3);
      } else {
         int var4;
         int var6;
         for(var6 = 1; var6 < (var1[var2] & 255); ++var6) {
            var4 = (Integer)var3.get(var3.size() - var6);
            this.b.insert(var4, ';');
         }

         var6 = var3.size() - (var1[var2] & 255);
         if (var6 < var3.size()) {
            var4 = (Integer)var3.get(var6);
         } else {
            var4 = this.b.length();
            com.aspose.cells.b.a.a.ze.a(var3, (Object)var4);
         }

         switch(var5) {
         case 0:
            this.b.insert(var4, "COUNT(");
            break;
         case 1:
            this.b.insert(var4, "IF(");
            break;
         case 4:
            this.b.insert(var4, "SUM(");
            break;
         case 5:
            this.b.insert(var4, "AVERAGE(");
            break;
         case 6:
            this.b.insert(var4, "MIN(");
            break;
         case 7:
            this.b.insert(var4, "MAX(");
            break;
         case 8:
            this.b.insert(var4, "ROW(");
            break;
         case 9:
            this.b.insert(var4, "COLUMN(");
            break;
         case 11:
            this.b.insert(var4, "NPV(");
            break;
         case 12:
            this.b.insert(var4, "STDEV(");
            break;
         case 13:
            this.b.insert(var4, "DOLLAR(");
            break;
         case 14:
            this.b.insert(var4, "FIXED(");
            break;
         case 28:
            this.b.insert(var4, "LOOKUP(");
            break;
         case 29:
            this.b.insert(var4, "INDEX(");
            break;
         case 36:
            this.b.insert(var4, "AND(");
            break;
         case 37:
            this.b.insert(var4, "OR(");
            break;
         case 46:
            this.b.insert(var4, "VAR(");
            break;
         case 49:
            this.b.insert(var4, "LINEST(");
            break;
         case 50:
            this.b.insert(var4, "TREND(");
            break;
         case 51:
            this.b.insert(var4, "LOGEST(");
            break;
         case 52:
            this.b.insert(var4, "GROWTH(");
            break;
         case 56:
            this.b.insert(var4, "PV(");
            break;
         case 57:
            this.b.insert(var4, "FV(");
            break;
         case 59:
            this.b.insert(var4, "PMT(");
            break;
         case 62:
            this.b.insert(var4, "IRR(");
            break;
         case 64:
            this.b.insert(var4, "MATCH(");
            break;
         case 70:
            this.b.insert(var4, "WEEKDAY(");
            break;
         case 78:
            this.b.insert(var4, "OFFSET(");
            break;
         case 82:
            this.b.insert(var4, "SEARCH(");
            break;
         case 100:
            this.b.insert(var4, "CHOOSE(");
            break;
         case 101:
            this.b.insert(var4, "HLOOKUP(");
            break;
         case 102:
            this.b.insert(var4, "VLOOKUP(");
            break;
         case 109:
            this.b.insert(var4, "LOG(");
            break;
         case 115:
            this.b.insert(var4, "LEFT(");
            break;
         case 116:
            this.b.insert(var4, "RIGHT(");
            break;
         case 120:
            this.b.insert(var4, "SUBSTITUTE(");
            break;
         case 124:
            this.b.insert(var4, "FIND(");
            break;
         case 125:
            this.b.insert(var4, "CELL(");
            break;
         case 144:
            this.b.insert(var4, "DDB(");
            break;
         case 148:
            this.b.insert(var4, "INDIRECT(");
            break;
         case 169:
            this.b.insert(var4, "COUNTA(");
            break;
         case 183:
            this.b.insert(var4, "PRODUCT(");
            break;
         case 193:
            this.b.insert(var4, "STDEVP(");
            break;
         case 194:
            this.b.insert(var4, "VARP(");
            break;
         case 197:
            this.b.insert(var4, "TRUNC(");
            break;
         case 204:
            this.b.insert(var4, "DOLLAR(");
            break;
         case 216:
            this.b.insert(var4, "RANK(");
            break;
         case 219:
            this.b.insert(var4, "ADDRESS(");
            break;
         case 220:
            this.b.insert(var4, "DAYS360(");
            break;
         case 227:
            this.b.insert(var4, "MEDIAN(");
            break;
         case 228:
            this.b.insert(var4, "SUMPRODUCT(");
            break;
         case 269:
            this.b.insert(var4, "AVEDEV(");
            break;
         case 270:
            this.b.insert(var4, "BETADIST(");
            break;
         case 272:
            this.b.insert(var4, "BETAINV(");
            break;
         case 317:
            this.b.insert(var4, "PROB(");
            break;
         case 318:
            this.b.insert(var4, "DEVSQ(");
            break;
         case 319:
            this.b.insert(var4, "GEOMEAN(");
            break;
         case 320:
            this.b.insert(var4, "HARMEAN(");
            break;
         case 321:
            this.b.insert(var4, "SUMSQ(");
            break;
         case 322:
            this.b.insert(var4, "KURT(");
            break;
         case 323:
            this.b.insert(var4, "SKEW(");
            break;
         case 324:
            this.b.insert(var4, "ZTEST(");
            break;
         case 329:
            this.b.insert(var4, "PERCENTRANK(");
            break;
         case 330:
            this.b.insert(var4, "MODE(");
            break;
         case 336:
            this.b.insert(var4, "CONCATENATE(");
            break;
         case 344:
            this.b.insert(var4, "SUBTOTAL(");
            break;
         case 345:
            this.b.insert(var4, "SUMIF(");
            break;
         case 354:
            this.b.insert(var4, "ROMAN(");
            break;
         case 358:
            this.b.insert(var4, "GETPIVOTDATA(");
            break;
         case 359:
            this.b.insert(var4, "HYPERLINK(");
            break;
         case 361:
            this.b.insert(var4, "AVERAGEA(");
            break;
         case 363:
            this.b.insert(var4, "MINA(");
            break;
         case 364:
            this.b.insert(var4, "STDEVPA(");
            break;
         case 366:
            this.b.insert(var4, "STDEVA(");
            break;
         case 367:
            this.b.insert(var4, "VARA(");
            break;
         default:
            zabl var7 = zabl.a(var5 & '\uffff');
            if (var7 == null) {
               return;
            }

            this.b.insert(var4, var7.b + "(");
         }

         if ((var1[var2] & 255) - 1 > 0) {
            com.aspose.cells.b.a.a.ze.a(var3, var3.size() - (var1[var2] & 255) + 1, (var1[var2] & 255) - 1);
         }

         this.b.append(")");
      }
   }

   private void c(byte[] var1, int var2, ArrayList var3) {
      int var5 = com.aspose.cells.b.a.zc.e(var1, var2);
      int var4;
      int var6;
      switch(var5) {
      case 2:
         var4 = (Integer)var3.get(var3.size() - 1);
         this.b.insert(var4, "ISNA(");
         break;
      case 3:
         var4 = (Integer)var3.get(var3.size() - 1);
         this.b.insert(var4, "ISERROR(");
         break;
      case 4:
      case 5:
      case 6:
      case 7:
      case 8:
      case 9:
      case 11:
      case 12:
      case 13:
      case 14:
      case 28:
      case 29:
      case 36:
      case 37:
      case 46:
      case 49:
      case 50:
      case 51:
      case 52:
      case 53:
      case 54:
      case 55:
      case 56:
      case 57:
      case 58:
      case 59:
      case 60:
      case 61:
      case 62:
      case 64:
      case 70:
      case 78:
      case 79:
      case 80:
      case 81:
      case 82:
      case 84:
      case 85:
      case 86:
      case 87:
      case 88:
      case 89:
      case 90:
      case 91:
      case 92:
      case 93:
      case 94:
      case 95:
      case 96:
      case 100:
      case 101:
      case 102:
      case 103:
      case 104:
      case 106:
      case 107:
      case 108:
      case 109:
      case 110:
      case 115:
      case 116:
      case 120:
      case 122:
      case 123:
      case 124:
      case 125:
      case 126:
      case 132:
      case 133:
      case 134:
      case 135:
      case 136:
      case 137:
      case 138:
      case 139:
      case 144:
      case 145:
      case 146:
      case 147:
      case 148:
      case 149:
      case 150:
      case 151:
      case 152:
      case 153:
      case 154:
      case 155:
      case 156:
      case 157:
      case 158:
      case 159:
      case 160:
      case 161:
      case 162:
      case 166:
      case 167:
      case 168:
      case 169:
      case 170:
      case 171:
      case 172:
      case 173:
      case 174:
      case 175:
      case 176:
      case 177:
      case 178:
      case 179:
      case 180:
      case 181:
      case 182:
      case 183:
      case 185:
      case 186:
      case 187:
      case 188:
      case 191:
      case 192:
      case 193:
      case 194:
      case 197:
      case 200:
      case 201:
      case 202:
      case 203:
      case 204:
      case 205:
      case 206:
      case 207:
      case 208:
      case 209:
      case 210:
      case 211:
      case 216:
      case 217:
      case 218:
      case 219:
      case 220:
      case 222:
      case 223:
      case 224:
      case 225:
      case 226:
      case 227:
      case 228:
      case 236:
      case 237:
      case 238:
      case 239:
      case 240:
      case 241:
      case 242:
      case 243:
      case 244:
      case 245:
      case 246:
      case 247:
      case 248:
      case 249:
      case 250:
      case 251:
      case 253:
      case 254:
      case 255:
      case 256:
      case 257:
      case 258:
      case 259:
      case 260:
      case 261:
      case 262:
      case 263:
      case 264:
      case 265:
      case 266:
      case 267:
      case 268:
      case 269:
      case 270:
      case 271:
      case 272:
      case 317:
      case 318:
      case 319:
      case 320:
      case 321:
      case 322:
      case 323:
      case 324:
      case 329:
      case 330:
      case 333:
      case 334:
      case 335:
      case 336:
      case 338:
      case 339:
      case 340:
      case 341:
      case 344:
      case 345:
      default:
         zabl var8 = zabl.a(var5 & '\uffff');
         if (var8 == null) {
            return;
         }

         if (var3.size() < (var8.d & 255)) {
            return;
         }

         for(int var7 = 1; var7 < (var8.d & 255); ++var7) {
            var4 = (Integer)var3.get(var3.size() - var7);
            this.b.insert(var4, ';');
         }

         var4 = (Integer)var3.get(var3.size() - (var8.d & 255));
         this.b.insert(var4, var8.b + "(");
         if ((var8.d & 255) > 1) {
            com.aspose.cells.b.a.a.ze.a(var3, var3.size() - (var8.d & 255) + 1, (var8.d & 255) - 1);
         }

         if (var3.size() > 0) {
            var3.set(var3.size() - 1, var4);
         }
         break;
      case 10:
         com.aspose.cells.b.a.a.ze.a(var3, (Object)this.b.length());
         this.b.append("NA(");
         break;
      case 15:
         var4 = (Integer)var3.get(var3.size() - 1);
         this.b.insert(var4, "SIN(");
         break;
      case 16:
         var4 = (Integer)var3.get(var3.size() - 1);
         this.b.insert(var4, "COS(");
         break;
      case 17:
         var4 = (Integer)var3.get(var3.size() - 1);
         this.b.insert(var4, "TAN(");
         break;
      case 18:
         var4 = (Integer)var3.get(var3.size() - 1);
         this.b.insert(var4, "ATAN(");
         break;
      case 19:
         com.aspose.cells.b.a.a.ze.a(var3, (Object)this.b.length());
         this.b.append("PI(");
         break;
      case 20:
         var4 = (Integer)var3.get(var3.size() - 1);
         this.b.insert(var4, "SQRT(");
         break;
      case 21:
         var4 = (Integer)var3.get(var3.size() - 1);
         this.b.insert(var4, "EXP(");
         break;
      case 22:
         var4 = (Integer)var3.get(var3.size() - 1);
         this.b.insert(var4, "LN(");
         break;
      case 23:
         var4 = (Integer)var3.get(var3.size() - 1);
         this.b.insert(var4, "LOG10(");
         break;
      case 24:
         var4 = (Integer)var3.get(var3.size() - 1);
         this.b.insert(var4, "ABS(");
         break;
      case 25:
         var4 = (Integer)var3.get(var3.size() - 1);
         this.b.insert(var4, "INT(");
         break;
      case 26:
         var4 = (Integer)var3.get(var3.size() - 1);
         this.b.insert(var4, "SIGN(");
         break;
      case 27:
         if (var3.size() < 2) {
            return;
         }

         var4 = (Integer)var3.get(var3.size() - 1);
         this.b.insert(var4, ';');
         var4 = (Integer)var3.get(var3.size() - 2);
         this.b.insert(var4, "ROUND(");
         var3.remove(var3.size() - 1);
         if (var3.size() > 0) {
            var3.set(var3.size() - 1, var4);
         }
         break;
      case 30:
         if (var3.size() < 2) {
            return;
         }

         var4 = (Integer)var3.get(var3.size() - 1);
         this.b.insert(var4, ';');
         var4 = (Integer)var3.get(var3.size() - 2);
         this.b.insert(var4, "REPT(");
         var3.remove(var3.size() - 1);
         if (var3.size() > 0) {
            var3.set(var3.size() - 1, var4);
         }
         break;
      case 31:
         if (var3.size() < 3) {
            return;
         }

         for(var6 = 1; var6 < 3; ++var6) {
            var4 = (Integer)var3.get(var3.size() - var6);
            this.b.insert(var4, ';');
         }

         var4 = (Integer)var3.get(var3.size() - 3);
         this.b.insert(var4, "MID(");
         com.aspose.cells.b.a.a.ze.a(var3, var3.size() - 2, 2);
         break;
      case 32:
         var4 = (Integer)var3.get(var3.size() - 1);
         this.b.insert(var4, "LEN(");
         break;
      case 33:
         var4 = (Integer)var3.get(var3.size() - 1);
         this.b.insert(var4, "VALUE(");
         break;
      case 34:
         com.aspose.cells.b.a.a.ze.a(var3, (Object)this.b.length());
         this.b.append("TRUE(");
         break;
      case 35:
         com.aspose.cells.b.a.a.ze.a(var3, (Object)this.b.length());
         this.b.append("FALSE(");
         break;
      case 38:
         var4 = (Integer)var3.get(var3.size() - 1);
         this.b.insert(var4, "NOT(");
         break;
      case 39:
         if (var3.size() < 2) {
            return;
         }

         var4 = (Integer)var3.get(var3.size() - 1);
         this.b.insert(var4, ';');
         var4 = (Integer)var3.get(var3.size() - 2);
         this.b.insert(var4, "MOD(");
         com.aspose.cells.b.a.a.ze.a(var3, var3.size() - 2, 1);
         if (var3.size() > 0) {
            var3.set(var3.size() - 1, var4);
         }
         break;
      case 40:
         if (var3.size() < 3) {
            return;
         }

         for(var6 = 1; var6 < 3; ++var6) {
            var4 = (Integer)var3.get(var3.size() - var6);
            this.b.insert(var4, ';');
         }

         var4 = (Integer)var3.get(var3.size() - 3);
         this.b.insert(var4, "DCOUNT(");
         com.aspose.cells.b.a.a.ze.a(var3, var3.size() - 3, 2);
         if (var3.size() > 0) {
            var3.set(var3.size() - 1, var4);
         }
         break;
      case 41:
         if (var3.size() < 3) {
            return;
         }

         for(var6 = 1; var6 < 3; ++var6) {
            var4 = (Integer)var3.get(var3.size() - var6);
            this.b.insert(var4, ';');
         }

         var4 = (Integer)var3.get(var3.size() - 3);
         this.b.insert(var4, "DSUM(");
         com.aspose.cells.b.a.a.ze.a(var3, var3.size() - 3, 2);
         if (var3.size() > 0) {
            var3.set(var3.size() - 1, var4);
         }
         break;
      case 42:
         if (var3.size() < 3) {
            return;
         }

         for(var6 = 1; var6 < 3; ++var6) {
            var4 = (Integer)var3.get(var3.size() - var6);
            this.b.insert(var4, ';');
         }

         var4 = (Integer)var3.get(var3.size() - 3);
         this.b.insert(var4, "DAVERAGE(");
         com.aspose.cells.b.a.a.ze.a(var3, var3.size() - 3, 2);
         if (var3.size() > 0) {
            var3.set(var3.size() - 1, var4);
         }
         break;
      case 43:
         if (var3.size() < 3) {
            return;
         }

         for(var6 = 1; var6 < 3; ++var6) {
            var4 = (Integer)var3.get(var3.size() - var6);
            this.b.insert(var4, ';');
         }

         var4 = (Integer)var3.get(var3.size() - 3);
         this.b.insert(var4, "DMIN(");
         com.aspose.cells.b.a.a.ze.a(var3, var3.size() - 2, 2);
         break;
      case 44:
         if (var3.size() < 3) {
            return;
         }

         for(var6 = 1; var6 < 3; ++var6) {
            var4 = (Integer)var3.get(var3.size() - var6);
            this.b.insert(var4, ';');
         }

         var4 = (Integer)var3.get(var3.size() - 3);
         this.b.insert(var4, "DMAX(");
         com.aspose.cells.b.a.a.ze.a(var3, var3.size() - 2, 2);
         if (var3.size() > 0) {
            var3.set(var3.size() - 1, var4);
         } else {
            com.aspose.cells.b.a.a.ze.a(var3, (Object)var4);
         }
         break;
      case 45:
         if (var3.size() < 3) {
            return;
         }

         for(var6 = 1; var6 < 3; ++var6) {
            var4 = (Integer)var3.get(var3.size() - var6);
            this.b.insert(var4, ';');
         }

         var4 = (Integer)var3.get(var3.size() - 3);
         this.b.insert(var4, "DSTDEV(");
         com.aspose.cells.b.a.a.ze.a(var3, var3.size() - 3, 2);
         if (var3.size() > 0) {
            var3.set(var3.size() - 1, var4);
         }
         break;
      case 47:
         if (var3.size() < 3) {
            return;
         }

         for(var6 = 1; var6 < 3; ++var6) {
            var4 = (Integer)var3.get(var3.size() - var6);
            this.b.insert(var4, ';');
         }

         var4 = (Integer)var3.get(var3.size() - 3);
         this.b.insert(var4, "DVAR(");
         com.aspose.cells.b.a.a.ze.a(var3, var3.size() - 3, 2);
         if (var3.size() > 0) {
            var3.set(var3.size() - 1, var4);
         }
         break;
      case 48:
         if (var3.size() < 2) {
            return;
         }

         var4 = (Integer)var3.get(var3.size() - 1);
         this.b.insert(var4, ';');
         var4 = (Integer)var3.get(var3.size() - 2);
         this.b.insert(var4, "TEXT(");
         var3.remove(var3.size() - 1);
         if (var3.size() > 0) {
            var3.set(var3.size() - 1, var4);
         }
         break;
      case 63:
         com.aspose.cells.b.a.a.ze.a(var3, (Object)this.b.length());
         this.b.append("RAND(");
         break;
      case 65:
         if (var3.size() < 3) {
            return;
         }

         for(var6 = 1; var6 < 3; ++var6) {
            var4 = (Integer)var3.get(var3.size() - var6);
            this.b.insert(var4, ';');
         }

         var4 = (Integer)var3.get(var3.size() - 3);
         this.b.insert(var4, "DATE(");
         com.aspose.cells.b.a.a.ze.a(var3, var3.size() - 2, 2);
         if (var3.size() > 0) {
            var3.set(var3.size() - 1, var4);
         } else {
            com.aspose.cells.b.a.a.ze.a(var3, (Object)var4);
         }
         break;
      case 66:
         if (var3.size() < 3) {
            return;
         }

         for(var6 = 1; var6 < 3; ++var6) {
            var4 = (Integer)var3.get(var3.size() - var6);
            this.b.insert(var4, ';');
         }

         var4 = (Integer)var3.get(var3.size() - 3);
         this.b.insert(var4, "TIME(");
         com.aspose.cells.b.a.a.ze.a(var3, var3.size() - 3, 2);
         if (var3.size() > 0) {
            var3.set(var3.size() - 1, var4);
         }
         break;
      case 67:
         var4 = (Integer)var3.get(var3.size() - 1);
         this.b.insert(var4, "DAY(");
         break;
      case 68:
         var4 = (Integer)var3.get(var3.size() - 1);
         this.b.insert(var4, "MONTH(");
         break;
      case 69:
         var4 = (Integer)var3.get(var3.size() - 1);
         this.b.insert(var4, "YEAR(");
         break;
      case 71:
         var4 = (Integer)var3.get(var3.size() - 1);
         this.b.insert(var4, "HOUR(");
         break;
      case 72:
         var4 = (Integer)var3.get(var3.size() - 1);
         this.b.insert(var4, "MINUTE(");
         break;
      case 73:
         var4 = (Integer)var3.get(var3.size() - 1);
         this.b.insert(var4, "SECOND(");
         break;
      case 74:
         com.aspose.cells.b.a.a.ze.a(var3, (Object)this.b.length());
         this.b.append("NOW(");
         break;
      case 75:
         var4 = (Integer)var3.get(var3.size() - 1);
         this.b.insert(var4, "AREAS(");
         break;
      case 76:
         var4 = (Integer)var3.get(var3.size() - 1);
         this.b.insert(var4, "ROWS(");
         break;
      case 77:
         var4 = (Integer)var3.get(var3.size() - 1);
         this.b.insert(var4, "COLUMNS(");
         break;
      case 83:
         var4 = (Integer)var3.get(var3.size() - 1);
         this.b.insert(var4, "TRANSPOSE(");
         break;
      case 97:
         if (var3.size() < 2) {
            return;
         }

         var4 = (Integer)var3.get(var3.size() - 1);
         this.b.insert(var4, ';');
         var4 = (Integer)var3.get(var3.size() - 2);
         this.b.insert(var4, "ATAN2(");
         var3.remove(var3.size() - 1);
         if (var3.size() > 0) {
            var3.set(var3.size() - 1, var4);
         }
         break;
      case 98:
         var4 = (Integer)var3.get(var3.size() - 1);
         this.b.insert(var4, "ASIN(");
         break;
      case 99:
         var4 = (Integer)var3.get(var3.size() - 1);
         this.b.insert(var4, "ACOS(");
         break;
      case 105:
         var4 = (Integer)var3.get(var3.size() - 1);
         this.b.insert(var4, "ISREF(");
         break;
      case 111:
         var4 = (Integer)var3.get(var3.size() - 1);
         this.b.insert(var4, "CHAR(");
         break;
      case 112:
         var4 = (Integer)var3.get(var3.size() - 1);
         this.b.insert(var4, "LOWER(");
         break;
      case 113:
         var4 = (Integer)var3.get(var3.size() - 1);
         this.b.insert(var4, "UPPER(");
         break;
      case 114:
         var4 = (Integer)var3.get(var3.size() - 1);
         this.b.insert(var4, "PROPER(");
         break;
      case 117:
         if (var3.size() < 2) {
            return;
         }

         var4 = (Integer)var3.get(var3.size() - 1);
         this.b.insert(var4, ';');
         var4 = (Integer)var3.get(var3.size() - 2);
         this.b.insert(var4, "EXACT(");
         var3.remove(var3.size() - 1);
         if (var3.size() > 0) {
            var3.set(var3.size() - 1, var4);
         }
         break;
      case 118:
         var4 = (Integer)var3.get(var3.size() - 1);
         this.b.insert(var4, "TRIM(");
         break;
      case 119:
         if (var3.size() < 4) {
            return;
         }

         for(var6 = 1; var6 < 4; ++var6) {
            var4 = (Integer)var3.get(var3.size() - var6);
            this.b.insert(var4, ';');
         }

         var4 = (Integer)var3.get(var3.size() - 4);
         this.b.insert(var4, "REPLACE(");
         com.aspose.cells.b.a.a.ze.a(var3, var3.size() - 3, 3);
         if (var3.size() > 0) {
            var3.set(var3.size() - 1, var4);
         }
         break;
      case 121:
         var4 = (Integer)var3.get(var3.size() - 1);
         this.b.insert(var4, "CODE(");
         break;
      case 127:
         var4 = (Integer)var3.get(var3.size() - 1);
         this.b.insert(var4, "ISTEXT(");
         break;
      case 128:
         var4 = (Integer)var3.get(var3.size() - 1);
         this.b.insert(var4, "ISNUMBER(");
         break;
      case 129:
         var4 = (Integer)var3.get(var3.size() - 1);
         this.b.insert(var4, "ISBLANK(");
         break;
      case 130:
         var4 = (Integer)var3.get(var3.size() - 1);
         this.b.insert(var4, "T(");
         break;
      case 131:
         var4 = (Integer)var3.get(var3.size() - 1);
         this.b.insert(var4, "N(");
         break;
      case 140:
         var4 = (Integer)var3.get(var3.size() - 1);
         this.b.insert(var4, "DATEVALUE(");
         break;
      case 141:
         var4 = (Integer)var3.get(var3.size() - 1);
         this.b.insert(var4, "TIMEVALUE(");
         break;
      case 142:
         if (var3.size() < 3) {
            return;
         }

         for(var6 = 1; var6 < 3; ++var6) {
            var4 = (Integer)var3.get(var3.size() - var6);
            this.b.insert(var4, ';');
         }

         var4 = (Integer)var3.get(var3.size() - 3);
         this.b.insert(var4, "SLN(");
         com.aspose.cells.b.a.a.ze.a(var3, var3.size() - 2, 2);
         if (var3.size() > 0) {
            var3.set(var3.size() - 1, var4);
         }
         break;
      case 143:
         if (var3.size() < 4) {
            return;
         }

         for(var6 = 1; var6 < 4; ++var6) {
            var4 = (Integer)var3.get(var3.size() - var6);
            this.b.insert(var4, ';');
         }

         var4 = (Integer)var3.get(var3.size() - 4);
         this.b.insert(var4, "SYD(");
         com.aspose.cells.b.a.a.ze.a(var3, var3.size() - 3, 3);
         if (var3.size() > 0) {
            var3.set(var3.size() - 1, var4);
         }
         break;
      case 163:
         var4 = (Integer)var3.get(var3.size() - 1);
         this.b.insert(var4, "MDETERM(");
         break;
      case 164:
         var4 = (Integer)var3.get(var3.size() - 1);
         this.b.insert(var4, "MINVERSE(");
         break;
      case 165:
         if (var3.size() < 2) {
            return;
         }

         var4 = (Integer)var3.get(var3.size() - 1);
         this.b.insert(var4, ';');
         var4 = (Integer)var3.get(var3.size() - 2);
         this.b.insert(var4, "MMULT(");
         var3.remove(var3.size() - 1);
         if (var3.size() > 0) {
            var3.set(var3.size() - 1, var4);
         }
         break;
      case 184:
         var4 = (Integer)var3.get(var3.size() - 1);
         this.b.insert(var4, "FACT(");
         break;
      case 189:
         if (var3.size() < 3) {
            return;
         }

         for(var6 = 1; var6 < 3; ++var6) {
            var4 = (Integer)var3.get(var3.size() - var6);
            this.b.insert(var4, ';');
         }

         var4 = (Integer)var3.get(var3.size() - 3);
         this.b.insert(var4, "DPRODUCT(");
         com.aspose.cells.b.a.a.ze.a(var3, var3.size() - 3, 2);
         if (var3.size() > 0) {
            var3.set(var3.size() - 1, var4);
         }
         break;
      case 190:
         var4 = (Integer)var3.get(var3.size() - 1);
         this.b.insert(var4, "ISNONTEXT(");
         break;
      case 195:
         if (var3.size() < 3) {
            return;
         }

         for(var6 = 1; var6 < 3; ++var6) {
            var4 = (Integer)var3.get(var3.size() - var6);
            this.b.insert(var4, ';');
         }

         var4 = (Integer)var3.get(var3.size() - 3);
         this.b.insert(var4, "DSTDEVP(");
         com.aspose.cells.b.a.a.ze.a(var3, var3.size() - 3, 2);
         if (var3.size() > 0) {
            var3.set(var3.size() - 1, var4);
         }
         break;
      case 196:
         if (var3.size() < 3) {
            return;
         }

         for(var6 = 1; var6 < 3; ++var6) {
            var4 = (Integer)var3.get(var3.size() - var6);
            this.b.insert(var4, ';');
         }

         var4 = (Integer)var3.get(var3.size() - 3);
         this.b.insert(var4, "DVARP(");
         com.aspose.cells.b.a.a.ze.a(var3, var3.size() - 3, 2);
         if (var3.size() > 0) {
            var3.set(var3.size() - 1, var4);
         }
         break;
      case 198:
         var4 = (Integer)var3.get(var3.size() - 1);
         this.b.insert(var4, "ISLOGICAL(");
         break;
      case 199:
         if (var3.size() < 3) {
            return;
         }

         for(var6 = 1; var6 < 3; ++var6) {
            var4 = (Integer)var3.get(var3.size() - var6);
            this.b.insert(var4, ';');
         }

         var4 = (Integer)var3.get(var3.size() - 3);
         this.b.insert(var4, "DCOUNTA(");
         com.aspose.cells.b.a.a.ze.a(var3, var3.size() - 3, 2);
         if (var3.size() > 0) {
            var3.set(var3.size() - 1, var4);
         }
         break;
      case 212:
         if (var3.size() < 2) {
            return;
         }

         var4 = (Integer)var3.get(var3.size() - 1);
         this.b.insert(var4, ';');
         var4 = (Integer)var3.get(var3.size() - 2);
         this.b.insert(var4, "ROUNDUP(");
         var3.remove(var3.size() - 1);
         if (var3.size() > 0) {
            var3.set(var3.size() - 1, var4);
         }
         break;
      case 213:
         if (var3.size() < 2) {
            return;
         }

         var4 = (Integer)var3.get(var3.size() - 1);
         this.b.insert(var4, ';');
         var4 = (Integer)var3.get(var3.size() - 2);
         this.b.insert(var4, "ROUNDDOWN(");
         var3.remove(var3.size() - 1);
         if (var3.size() > 0) {
            var3.set(var3.size() - 1, var4);
         }
         break;
      case 214:
         var4 = (Integer)var3.get(var3.size() - 1);
         this.b.insert(var4, "ASC(");
         break;
      case 215:
         var4 = (Integer)var3.get(var3.size() - 1);
         this.b.insert(var4, "WIDECHAR(");
         break;
      case 221:
         var4 = this.b.length();
         this.b.append("TODAY(");
         com.aspose.cells.b.a.a.ze.a(var3, (Object)var4);
         break;
      case 229:
         var4 = (Integer)var3.get(var3.size() - 1);
         this.b.insert(var4, "SINH(");
         break;
      case 230:
         var4 = (Integer)var3.get(var3.size() - 1);
         this.b.insert(var4, "COSH(");
         break;
      case 231:
         var4 = (Integer)var3.get(var3.size() - 1);
         this.b.insert(var4, "TANH(");
         break;
      case 232:
         var4 = (Integer)var3.get(var3.size() - 1);
         this.b.insert(var4, "ASINH(");
         break;
      case 233:
         var4 = (Integer)var3.get(var3.size() - 1);
         this.b.insert(var4, "ACOSH(");
         break;
      case 234:
         var4 = (Integer)var3.get(var3.size() - 1);
         this.b.insert(var4, "ATANH(");
         break;
      case 235:
         if (var3.size() < 3) {
            return;
         }

         for(var6 = 1; var6 < 3; ++var6) {
            var4 = (Integer)var3.get(var3.size() - var6);
            this.b.insert(var4, ';');
         }

         var4 = (Integer)var3.get(var3.size() - 3);
         this.b.insert(var4, "DGET(");
         com.aspose.cells.b.a.a.ze.a(var3, var3.size() - 3, 2);
         if (var3.size() > 0) {
            var3.set(var3.size() - 1, var4);
         }
         break;
      case 252:
         if (var3.size() < 2) {
            return;
         }

         var4 = (Integer)var3.get(var3.size() - 1);
         this.b.insert(var4, ';');
         var4 = (Integer)var3.get(var3.size() - 2);
         this.b.insert(var4, "FREQUENCY(");
         var3.remove(var3.size() - 1);
         break;
      case 273:
         if (var3.size() < 4) {
            return;
         }

         for(var6 = 1; var6 < 4; ++var6) {
            var4 = (Integer)var3.get(var3.size() - var6);
            this.b.insert(var4, ';');
         }

         var4 = (Integer)var3.get(var3.size() - 4);
         this.b.insert(var4, "BINOMDIST(");
         com.aspose.cells.b.a.a.ze.a(var3, var3.size() - 3, 3);
         if (var3.size() > 0) {
            var3.set(var3.size() - 1, var4);
         }
         break;
      case 274:
         if (var3.size() < 2) {
            return;
         }

         var4 = (Integer)var3.get(var3.size() - 1);
         this.b.insert(var4, ';');
         var4 = (Integer)var3.get(var3.size() - 2);
         this.b.insert(var4, "CHIDIST(");
         var3.remove(var3.size() - 1);
         if (var3.size() > 0) {
            var3.set(var3.size() - 1, var4);
         }
         break;
      case 275:
         if (var3.size() < 2) {
            return;
         }

         var4 = (Integer)var3.get(var3.size() - 1);
         this.b.insert(var4, ';');
         var4 = (Integer)var3.get(var3.size() - 2);
         this.b.insert(var4, "CHIINV(");
         var3.remove(var3.size() - 1);
         if (var3.size() > 0) {
            var3.set(var3.size() - 1, var4);
         }
         break;
      case 276:
         if (var3.size() < 2) {
            return;
         }

         var4 = (Integer)var3.get(var3.size() - 1);
         this.b.insert(var4, ';');
         var4 = (Integer)var3.get(var3.size() - 2);
         this.b.insert(var4, "COMBIN(");
         var3.remove(var3.size() - 1);
         if (var3.size() > 0) {
            var3.set(var3.size() - 1, var4);
         }
         break;
      case 277:
         if (var3.size() < 3) {
            return;
         }

         for(var6 = 1; var6 < 3; ++var6) {
            var4 = (Integer)var3.get(var3.size() - var6);
            this.b.insert(var4, ';');
         }

         var4 = (Integer)var3.get(var3.size() - 3);
         this.b.insert(var4, "CONFIDENCE(");
         com.aspose.cells.b.a.a.ze.a(var3, var3.size() - 2, 2);
         if (var3.size() > 0) {
            var3.set(var3.size() - 1, var4);
         }
         break;
      case 278:
         if (var3.size() < 3) {
            return;
         }

         for(var6 = 1; var6 < 3; ++var6) {
            var4 = (Integer)var3.get(var3.size() - var6);
            this.b.insert(var4, ';');
         }

         var4 = (Integer)var3.get(var3.size() - 3);
         this.b.insert(var4, "CRITBINOM(");
         com.aspose.cells.b.a.a.ze.a(var3, var3.size() - 2, 2);
         if (var3.size() > 0) {
            var3.set(var3.size() - 1, var4);
         }
         break;
      case 279:
         var4 = (Integer)var3.get(var3.size() - 1);
         this.b.insert(var4, "EVEN(");
         break;
      case 280:
         if (var3.size() < 3) {
            return;
         }

         for(var6 = 1; var6 < 3; ++var6) {
            var4 = (Integer)var3.get(var3.size() - var6);
            this.b.insert(var4, ';');
         }

         var4 = (Integer)var3.get(var3.size() - 3);
         this.b.insert(var4, "EXPONDIST(");
         com.aspose.cells.b.a.a.ze.a(var3, var3.size() - 2, 2);
         break;
      case 281:
         if (var3.size() < 3) {
            return;
         }

         for(var6 = 1; var6 < 3; ++var6) {
            var4 = (Integer)var3.get(var3.size() - var6);
            this.b.insert(var4, ';');
         }

         var4 = (Integer)var3.get(var3.size() - 3);
         this.b.insert(var4, "FDIST(");
         com.aspose.cells.b.a.a.ze.a(var3, var3.size() - 2, 2);
         break;
      case 282:
         if (var3.size() < 3) {
            return;
         }

         for(var6 = 1; var6 < 3; ++var6) {
            var4 = (Integer)var3.get(var3.size() - var6);
            this.b.insert(var4, ';');
         }

         var4 = (Integer)var3.get(var3.size() - 3);
         this.b.insert(var4, "FINV(");
         com.aspose.cells.b.a.a.ze.a(var3, var3.size() - 2, 2);
         break;
      case 283:
         var4 = (Integer)var3.get(var3.size() - 1);
         this.b.insert(var4, "FISHER(");
         break;
      case 284:
         var4 = (Integer)var3.get(var3.size() - 1);
         this.b.insert(var4, "FISHERINV(");
         break;
      case 285:
         if (var3.size() < 2) {
            return;
         }

         var4 = (Integer)var3.get(var3.size() - 1);
         this.b.insert(var4, ';');
         var4 = (Integer)var3.get(var3.size() - 2);
         this.b.insert(var4, "FLOOR(");
         var3.remove(var3.size() - 1);
         break;
      case 286:
         if (var3.size() < 4) {
            return;
         }

         for(var6 = 1; var6 < 4; ++var6) {
            var4 = (Integer)var3.get(var3.size() - var6);
            this.b.insert(var4, ';');
         }

         var4 = (Integer)var3.get(var3.size() - 4);
         this.b.insert(var4, "GAMMADIST(");
         com.aspose.cells.b.a.a.ze.a(var3, var3.size() - 3, 3);
         break;
      case 287:
         if (var3.size() < 3) {
            return;
         }

         for(var6 = 1; var6 < 3; ++var6) {
            var4 = (Integer)var3.get(var3.size() - var6);
            this.b.insert(var4, ';');
         }

         var4 = (Integer)var3.get(var3.size() - 3);
         this.b.insert(var4, "GAMMAINV(");
         com.aspose.cells.b.a.a.ze.a(var3, var3.size() - 2, 2);
         break;
      case 288:
         if (var3.size() < 2) {
            return;
         }

         var4 = (Integer)var3.get(var3.size() - 1);
         this.b.insert(var4, ';');
         var4 = (Integer)var3.get(var3.size() - 2);
         this.b.insert(var4, "CEILING(");
         var3.remove(var3.size() - 1);
         break;
      case 289:
         if (var3.size() < 4) {
            return;
         }

         for(var6 = 1; var6 < 4; ++var6) {
            var4 = (Integer)var3.get(var3.size() - var6);
            this.b.insert(var4, ';');
         }

         var4 = (Integer)var3.get(var3.size() - 4);
         this.b.insert(var4, "HYPGEOMDIST(");
         com.aspose.cells.b.a.a.ze.a(var3, var3.size() - 3, 3);
         break;
      case 290:
         if (var3.size() < 3) {
            return;
         }

         for(var6 = 1; var6 < 3; ++var6) {
            var4 = (Integer)var3.get(var3.size() - var6);
            this.b.insert(var4, ';');
         }

         var4 = (Integer)var3.get(var3.size() - 3);
         this.b.insert(var4, "LOGNORMDIST(");
         com.aspose.cells.b.a.a.ze.a(var3, var3.size() - 2, 2);
         break;
      case 291:
         if (var3.size() < 3) {
            return;
         }

         for(var6 = 1; var6 < 3; ++var6) {
            var4 = (Integer)var3.get(var3.size() - var6);
            this.b.insert(var4, ';');
         }

         var4 = (Integer)var3.get(var3.size() - 3);
         this.b.insert(var4, "LOGINV(");
         com.aspose.cells.b.a.a.ze.a(var3, var3.size() - 2, 2);
         break;
      case 292:
         if (var3.size() < 3) {
            return;
         }

         for(var6 = 1; var6 < 3; ++var6) {
            var4 = (Integer)var3.get(var3.size() - var6);
            this.b.insert(var4, ';');
         }

         var4 = (Integer)var3.get(var3.size() - 3);
         this.b.insert(var4, "NEGBINOMDIST(");
         com.aspose.cells.b.a.a.ze.a(var3, var3.size() - 2, 2);
         break;
      case 293:
         if (var3.size() < 4) {
            return;
         }

         for(var6 = 1; var6 < 4; ++var6) {
            var4 = (Integer)var3.get(var3.size() - var6);
            this.b.insert(var4, ';');
         }

         var4 = (Integer)var3.get(var3.size() - 4);
         this.b.insert(var4, "NORMDIST(");
         com.aspose.cells.b.a.a.ze.a(var3, var3.size() - 3, 3);
         break;
      case 294:
         var4 = (Integer)var3.get(var3.size() - 1);
         this.b.insert(var4, "NORMSDIST(");
         break;
      case 295:
         if (var3.size() < 3) {
            return;
         }

         for(var6 = 1; var6 < 3; ++var6) {
            var4 = (Integer)var3.get(var3.size() - var6);
            this.b.insert(var4, ';');
         }

         var4 = (Integer)var3.get(var3.size() - 3);
         this.b.insert(var4, "NORMINV(");
         com.aspose.cells.b.a.a.ze.a(var3, var3.size() - 2, 2);
         if (var3.size() > 0) {
            var3.set(var3.size() - 1, var4);
         }
         break;
      case 296:
         var4 = (Integer)var3.get(var3.size() - 1);
         this.b.insert(var4, "NORMSINV(");
         break;
      case 297:
         if (var3.size() < 3) {
            return;
         }

         for(var6 = 1; var6 < 3; ++var6) {
            var4 = (Integer)var3.get(var3.size() - var6);
            this.b.insert(var4, ';');
         }

         var4 = (Integer)var3.get(var3.size() - 3);
         this.b.insert(var4, "STANDARDIZE(");
         com.aspose.cells.b.a.a.ze.a(var3, var3.size() - 2, 2);
         if (var3.size() > 0) {
            var3.set(var3.size() - 1, var4);
         }
         break;
      case 298:
         var4 = (Integer)var3.get(var3.size() - 1);
         this.b.insert(var4, "ODD(");
         break;
      case 299:
         if (var3.size() < 2) {
            return;
         }

         var4 = (Integer)var3.get(var3.size() - 1);
         this.b.insert(var4, ';');
         var4 = (Integer)var3.get(var3.size() - 2);
         this.b.insert(var4, "PERMUT(");
         var3.remove(var3.size() - 1);
         if (var3.size() > 0) {
            var3.set(var3.size() - 1, var4);
         }
         break;
      case 300:
         if (var3.size() < 3) {
            return;
         }

         for(var6 = 1; var6 < 3; ++var6) {
            var4 = (Integer)var3.get(var3.size() - var6);
            this.b.insert(var4, ';');
         }

         var4 = (Integer)var3.get(var3.size() - 3);
         this.b.insert(var4, "POISSON(");
         com.aspose.cells.b.a.a.ze.a(var3, var3.size() - 2, 2);
         if (var3.size() > 0) {
            var3.set(var3.size() - 1, var4);
         }
         break;
      case 301:
         if (var3.size() < 3) {
            return;
         }

         for(var6 = 1; var6 < 3; ++var6) {
            var4 = (Integer)var3.get(var3.size() - var6);
            this.b.insert(var4, ';');
         }

         var4 = (Integer)var3.get(var3.size() - 3);
         this.b.insert(var4, "TDIST(");
         com.aspose.cells.b.a.a.ze.a(var3, var3.size() - 2, 2);
         if (var3.size() > 0) {
            var3.set(var3.size() - 1, var4);
         }
         break;
      case 302:
         if (var3.size() < 4) {
            return;
         }

         for(var6 = 1; var6 < 4; ++var6) {
            var4 = (Integer)var3.get(var3.size() - var6);
            this.b.insert(var4, ';');
         }

         var4 = (Integer)var3.get(var3.size() - 4);
         this.b.insert(var4, "WEIBULL(");
         com.aspose.cells.b.a.a.ze.a(var3, var3.size() - 3, 3);
         if (var3.size() > 0) {
            var3.set(var3.size() - 1, var4);
         }
         break;
      case 303:
         if (var3.size() < 2) {
            return;
         }

         var4 = (Integer)var3.get(var3.size() - 1);
         this.b.insert(var4, ';');
         var4 = (Integer)var3.get(var3.size() - 2);
         this.b.insert(var4, "SUMXMY2(");
         var3.remove(var3.size() - 1);
         if (var3.size() > 0) {
            var3.set(var3.size() - 1, var4);
         }
         break;
      case 304:
         if (var3.size() < 2) {
            return;
         }

         var4 = (Integer)var3.get(var3.size() - 1);
         this.b.insert(var4, ';');
         var4 = (Integer)var3.get(var3.size() - 2);
         this.b.insert(var4, "SUMX2MY2(");
         var3.remove(var3.size() - 1);
         if (var3.size() > 0) {
            var3.set(var3.size() - 1, var4);
         }
         break;
      case 305:
         if (var3.size() < 2) {
            return;
         }

         var4 = (Integer)var3.get(var3.size() - 1);
         this.b.insert(var4, ';');
         var4 = (Integer)var3.get(var3.size() - 2);
         this.b.insert(var4, "SUMX2PY2(");
         var3.remove(var3.size() - 1);
         if (var3.size() > 0) {
            var3.set(var3.size() - 1, var4);
         }
         break;
      case 306:
         if (var3.size() < 2) {
            return;
         }

         var4 = (Integer)var3.get(var3.size() - 1);
         this.b.insert(var4, ';');
         var4 = (Integer)var3.get(var3.size() - 2);
         this.b.insert(var4, "CHITEST(");
         var3.remove(var3.size() - 1);
         if (var3.size() > 0) {
            var3.set(var3.size() - 1, var4);
         }
         break;
      case 307:
         if (var3.size() < 2) {
            return;
         }

         var4 = (Integer)var3.get(var3.size() - 1);
         this.b.insert(var4, ';');
         var4 = (Integer)var3.get(var3.size() - 2);
         this.b.insert(var4, "CORREL(");
         var3.remove(var3.size() - 1);
         if (var3.size() > 0) {
            var3.set(var3.size() - 1, var4);
         }
         break;
      case 308:
         if (var3.size() < 2) {
            return;
         }

         var4 = (Integer)var3.get(var3.size() - 1);
         this.b.insert(var4, ';');
         var4 = (Integer)var3.get(var3.size() - 2);
         this.b.insert(var4, "COVAR(");
         var3.remove(var3.size() - 1);
         if (var3.size() > 0) {
            var3.set(var3.size() - 1, var4);
         }
         break;
      case 309:
         if (var3.size() < 3) {
            return;
         }

         for(var6 = 1; var6 < 3; ++var6) {
            var4 = (Integer)var3.get(var3.size() - var6);
            this.b.insert(var4, ';');
         }

         var4 = (Integer)var3.get(var3.size() - 3);
         this.b.insert(var4, "FORECAST(");
         com.aspose.cells.b.a.a.ze.a(var3, var3.size() - 2, 2);
         if (var3.size() > 0) {
            var3.set(var3.size() - 1, var4);
         }
         break;
      case 310:
         if (var3.size() < 2) {
            return;
         }

         var4 = (Integer)var3.get(var3.size() - 1);
         this.b.insert(var4, ';');
         var4 = (Integer)var3.get(var3.size() - 2);
         this.b.insert(var4, "FTEST(");
         var3.remove(var3.size() - 1);
         break;
      case 311:
         if (var3.size() < 2) {
            return;
         }

         var4 = (Integer)var3.get(var3.size() - 1);
         this.b.insert(var4, ';');
         var4 = (Integer)var3.get(var3.size() - 2);
         this.b.insert(var4, "INTERCEPT(");
         var3.remove(var3.size() - 1);
         break;
      case 312:
         if (var3.size() < 2) {
            return;
         }

         var4 = (Integer)var3.get(var3.size() - 1);
         this.b.insert(var4, ';');
         var4 = (Integer)var3.get(var3.size() - 2);
         this.b.insert(var4, "PEARSON(");
         var3.remove(var3.size() - 1);
         if (var3.size() > 0) {
            var3.set(var3.size() - 1, var4);
         }
         break;
      case 313:
         if (var3.size() < 2) {
            return;
         }

         var4 = (Integer)var3.get(var3.size() - 1);
         this.b.insert(var4, ';');
         var4 = (Integer)var3.get(var3.size() - 2);
         this.b.insert(var4, "RSQ(");
         var3.remove(var3.size() - 1);
         if (var3.size() > 0) {
            var3.set(var3.size() - 1, var4);
         }
         break;
      case 314:
         if (var3.size() < 2) {
            return;
         }

         var4 = (Integer)var3.get(var3.size() - 1);
         this.b.insert(var4, ';');
         var4 = (Integer)var3.get(var3.size() - 2);
         this.b.insert(var4, "STEYX(");
         var3.remove(var3.size() - 1);
         if (var3.size() > 0) {
            var3.set(var3.size() - 1, var4);
         }
         break;
      case 315:
         if (var3.size() < 2) {
            return;
         }

         var4 = (Integer)var3.get(var3.size() - 1);
         this.b.insert(var4, ';');
         var4 = (Integer)var3.get(var3.size() - 2);
         this.b.insert(var4, "SLOPE(");
         var3.remove(var3.size() - 1);
         if (var3.size() > 0) {
            var3.set(var3.size() - 1, var4);
         }
         break;
      case 316:
         if (var3.size() < 4) {
            return;
         }

         for(var6 = 1; var6 < 4; ++var6) {
            var4 = (Integer)var3.get(var3.size() - var6);
            this.b.insert(var4, ';');
         }

         var4 = (Integer)var3.get(var3.size() - 4);
         this.b.insert(var4, "TTEST(");
         com.aspose.cells.b.a.a.ze.a(var3, var3.size() - 3, 3);
         if (var3.size() > 0) {
            var3.set(var3.size() - 1, var4);
         }
         break;
      case 325:
         if (var3.size() < 2) {
            return;
         }

         var4 = (Integer)var3.get(var3.size() - 1);
         this.b.insert(var4, ';');
         var4 = (Integer)var3.get(var3.size() - 2);
         this.b.insert(var4, "LARGE(");
         var3.remove(var3.size() - 1);
         break;
      case 326:
         if (var3.size() < 2) {
            return;
         }

         var4 = (Integer)var3.get(var3.size() - 1);
         this.b.insert(var4, ';');
         var4 = (Integer)var3.get(var3.size() - 2);
         this.b.insert(var4, "SMALL(");
         var3.remove(var3.size() - 1);
         if (var3.size() > 0) {
            var3.set(var3.size() - 1, var4);
         }
         break;
      case 327:
         if (var3.size() < 2) {
            return;
         }

         var4 = (Integer)var3.get(var3.size() - 1);
         this.b.insert(var4, ';');
         var4 = (Integer)var3.get(var3.size() - 2);
         this.b.insert(var4, "QUARTILE(");
         var3.remove(var3.size() - 1);
         if (var3.size() > 0) {
            var3.set(var3.size() - 1, var4);
         }
         break;
      case 328:
         if (var3.size() < 2) {
            return;
         }

         var4 = (Integer)var3.get(var3.size() - 1);
         this.b.insert(var4, ';');
         var4 = (Integer)var3.get(var3.size() - 2);
         this.b.insert(var4, "PERCENTILE(");
         var3.remove(var3.size() - 1);
         if (var3.size() > 0) {
            var3.set(var3.size() - 1, var4);
         }
         break;
      case 331:
         if (var3.size() < 2) {
            return;
         }

         var4 = (Integer)var3.get(var3.size() - 1);
         this.b.insert(var4, ';');
         var4 = (Integer)var3.get(var3.size() - 2);
         this.b.insert(var4, "TRIMMEAN(");
         var3.remove(var3.size() - 1);
         if (var3.size() > 0) {
            var3.set(var3.size() - 1, var4);
         }
         break;
      case 332:
         if (var3.size() < 2) {
            return;
         }

         var4 = (Integer)var3.get(var3.size() - 1);
         this.b.insert(var4, ';');
         var4 = (Integer)var3.get(var3.size() - 2);
         this.b.insert(var4, "TINV(");
         var3.remove(var3.size() - 1);
         if (var3.size() > 0) {
            var3.set(var3.size() - 1, var4);
         }
         break;
      case 337:
         if (var3.size() < 2) {
            return;
         }

         var4 = (Integer)var3.get(var3.size() - 1);
         this.b.insert(var4, ';');
         var4 = (Integer)var3.get(var3.size() - 2);
         this.b.insert(var4, "POWER(");
         var3.remove(var3.size() - 1);
         break;
      case 342:
         var4 = (Integer)var3.get(var3.size() - 1);
         this.b.insert(var4, "RADIANS(");
         break;
      case 343:
         var4 = (Integer)var3.get(var3.size() - 1);
         this.b.insert(var4, "DEGREES(");
         break;
      case 346:
         if (var3.size() < 2) {
            return;
         }

         var4 = (Integer)var3.get(var3.size() - 1);
         this.b.insert(var4, ';');
         var4 = (Integer)var3.get(var3.size() - 2);
         this.b.insert(var4, "COUNTIF(");
         var3.remove(var3.size() - 1);
         if (var3.size() > 0) {
            var3.set(var3.size() - 1, var4);
         }
         break;
      case 347:
         var4 = (Integer)var3.get(var3.size() - 1);
         this.b.insert(var4, "COUNTBLANK(");
      }

      this.b.append(")");
   }
}
